![]() |
PATH![]() |
![]() ![]() |
You can pass constants of type ThemeMenuBarState in the inState parameter of DrawThemeMenuBarBackground to specify whether theme-compliant menu bars are drawn as normal or selected. The ThemeMenuBarState constants are available with Appearance Manager 1.0.1 and later.
enum{
kThemeMenuBarNormal = 0,
kThemeMenuBarSelected = 1
};
typedef UInt16 ThemeMenuBarState;
If you wish the menu bar to be drawn with square upper corners (as for a laptop system) instead of rounded ones (as for a desktop system), your application should set the bit for the attribute kThemeMenuSquareMenuBar .
enum {
kThemeMenuSquareMenuBar= (1 << 0)
};